package com.dragon.mmochat.model;

import java.awt.Color;

import com.dragon.mmochat.model.enumType.MmochatAnnouncementFilter;

//游戏公告
public class MmochatAnnouncement {
	private int id = 0;
	private String title = "";// 标题
	private Color titleColor = null;// 标题颜色
	private String timeInfo = "";// 时间描述
	private String detail = "";// 详情
	private long startTick = 0;// 开始时间
	private long endTick = 0; // 结束时间
	private MmochatAnnouncementFilter filter = MmochatAnnouncementFilter.所有人查看;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Color getTitleColor() {
		return titleColor;
	}

	public void setTitleColor(Color titleColor) {
		this.titleColor = titleColor;
	}

	public String getTimeInfo() {
		return timeInfo;
	}

	public void setTimeInfo(String timeInfo) {
		this.timeInfo = timeInfo;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public long getStartTick() {
		return startTick;
	}

	public void setStartTick(long startTick) {
		this.startTick = startTick;
	}

	public long getEndTick() {
		return endTick;
	}

	public void setEndTick(long endTick) {
		this.endTick = endTick;
	}

	public MmochatAnnouncementFilter getFilter() {
		return filter;
	}

	public void setFilter(MmochatAnnouncementFilter filter) {
		this.filter = filter;
	}

}
